<template>
  <page-list :x-uri="uri" :custom-components="custom" :checkbox-item="false" :search-options="searchOptions">
    <!-- 自定义tab -->
    <template v-slot:page-tabs>
      <tabs />
    </template>
  </page-list>
</template>

<script>
import PageList from '@public/template/page_list.vue';
import User from '@/pages/user/student/account/components/user.vue';
import { shortcutsLayterThreeMonth } from '@/common/js/const.js';
import Tabs from '../tabs';
export default {
  components: {
    PageList,
    Tabs
  },
  inject: ['reload'],
  data() {
    return {
      uri: '/user/admin/student/login/log/list',
      custom: {
        user: User
      },
      searchOptions: {
        time: {
          shortcuts: shortcutsLayterThreeMonth,
          disabledDate: function(time) {
            return time.getTime() > Date.now();
          }
        }
      }
    };
  }
};
</script>
